package com.gxa.community.admin.mapper.analysis;

import com.gxa.community.core.pojo.domain.OrderInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.List;

@Repository
public interface OperationMonitoringMapper {
    //查询当日已付款订单数
    List<OrderInfo> queryCurrentDayOrderPayed(@Param("zero") Long zero, @Param("currentTime") Long currentTime);

    //查询当日新增用户数量
    Integer queryCurrentUsersAdd(@Param("zero") Long zero, @Param("currentTime") Long currentTime);

    //查询待付款订单数量
    Integer queryWaitPayOrderNum();
    //查询待发货社区数量
    Integer queryWaitSendNum();

    //团长申请待审核数量
    Integer queryAgentApplyWaitToExamineNum();

    //售后订单待审核
    Integer queryAfterSaleOrderWaitToExamineNum();
    //商品库存不足的商品种类数量
    Integer queryInsufficientInventoryOfGoodsNum();
    //广告即将到期的广告数
    Integer queryAdMayExpireNum(Long time);
}
